package com.ibm.moa.outmail.module;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MailInfo implements Serializable {
	private static final long serialVersionUID = -6210625743996247731L;

	/** 邮件ID标示 */
	public String mailId = "";
	/** 发送人名称 */
	public String mailUserId = "";
	/** 邮件来源地址 */
	public String from = "";
	/** 收件地址 */
	public String recAddr = "";
	/** 抄送人地址 */
	public String mailCc = "";
	/** 密送人地址 */
	public String mailBcc = "";
	/** 邮件主题 */
	public String subject = "";
	/** 正文 */
	public String plainContent = "";
	public String HTMLContent;
	/** 原文（草稿用） */
	public String preContent = "";
	/** 是否已读 */
	public boolean readFlag;
	/** 邮件大小 */
	public int mailSize;
	/** 发送时间 */
	public String sendDate = "";
	/** 发送时间 */
	public String sendDateFormat = "";
	/** 是否有附件 */
	public boolean haveAttach;

	public long timeMillis;

	/** 附件名称（list形式） */
	public List attachments = new ArrayList<String>();

	/************************************* 自定义标记属性 ***************************************/
	// 是否被选中
	private boolean isSelected;

	public boolean isSelected() {
		return isSelected;
	}

	public void setSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}

	public String getMailId() {
		return mailId;
	}

	public void setMailId(String mailId) {
		this.mailId = mailId;
	}

	public String getMailUserId() {
		return mailUserId;
	}

	public void setMailUserId(String mailUserId) {
		this.mailUserId = mailUserId;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getRecAddr() {
		return recAddr;
	}

	public void setRecAddr(String recAddr) {
		this.recAddr = recAddr;
	}

	public String getMailCc() {
		return mailCc;
	}

	public void setMailCc(String mailCc) {
		this.mailCc = mailCc;
	}

	public String getMailBcc() {
		return mailBcc;
	}

	public void setMailBcc(String mailBcc) {
		this.mailBcc = mailBcc;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getPlainContent() {
		return plainContent;
	}

	public void setPlainContent(String plainContent) {
		this.plainContent = plainContent;
	}

	public String getHTMLContent() {
		return HTMLContent;
	}

	public void setHTMLContent(String hTMLContent) {
		HTMLContent = hTMLContent;
	}

	public String getPreContent() {
		return preContent;
	}

	public void setPreContent(String preContent) {
		this.preContent = preContent;
	}

	public String getSendDate() {
		return sendDate;
	}

	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}

	public String getSendDateFormat() {
		return sendDateFormat;
	}

	public void setSendDateFormat(String sendDateFormat) {
		this.sendDateFormat = sendDateFormat;
	}

	public boolean isHaveAttach() {
		return haveAttach;
	}

	public void setHaveAttach(boolean haveAttach) {
		this.haveAttach = haveAttach;
	}

	public long getTimeMillis() {
		return timeMillis;
	}

	public void setTimeMillis(long timeMillis) {
		this.timeMillis = timeMillis;
	}

	public ArrayList<String> getAttachments() {
		return (ArrayList<String>) attachments;
	}

	public void setAttachments(List attachments) {
		this.attachments = attachments;
	}

	public int getMailSize() {
		return mailSize;
	}

	public void setMailSize(int mailSize) {
		this.mailSize = mailSize;
	}

	public boolean isReadFlag() {
		return readFlag;
	}

	public void setReadFlag(boolean readFlag) {
		this.readFlag = readFlag;
	}

}
